package com.fjnu.entities;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;

/**
 *  附件表
 */
@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
@JsonIdentityInfo(
        generator = ObjectIdGenerators.PropertyGenerator.class,
        property = "id",
        scope = EnclosureInstrument.class)
public class EnclosureInstrument implements java.io.Serializable {

	// Fields

	private Integer id;
	private Unit unit;
	private String enclosureIdentifier;
	private String classificationNum;
	private String enclosureName;
	private String modelSpecification;
	private Float enclosureUnitPrice;
	private String factory;
	private String leaveFactoryNum;
	private Date leaveFactoryDate;
	private Date purchaseDate;
	
	public static String GOOD = "正常";
	public static String BORROW = "借出";
	public static String Repair = "待修";
	public static String DEAD = "报废";
	
	private String statusQuo;
	private String recipientsPerson;
	private String billsNum;
	private String equipmentNum;
	private String chargePerson;
	private String handlePerson;
	private String fundSubject;
	private String useDirecton;
	private String procurementMethods;
	private Float enclosureImportPrice;
	private String gbClassificationNum;
	private Date inStorageTime;
	private Integer useUnitId;
	
	private String varcharOne;
	private String varcharTwo;
	private Float numOne;
	private Float numTwo;
	
	private String schoolArea;
	private String remark;
	private String instrumentSourse;
	private Date warrantyPeriod;
	private Integer keepPlaceId;
	private String financialVouchers;
	private String examine;
	private String financialAudit;
	private Date financialAuditTime;
	private String financialAuditPerson;
	private User inputPerson;
	private Date inputTime;
	private String checkWay;
	private Date checkDate;
	private String checkWrong;
	
	private String picFile;
	private String picFileOne;
	private String picFileTwo;
	private String picNameOne;
	private String picNameTwo;
	private String picName;
	
	private String gbCode;
	private String firstExamine;
	private String firstExaminePerson;
	private Date firstExamineTime;
	private MainInstrument mainInstrument;
	// Constructors

	/** default constructor */
	public EnclosureInstrument() {
	}

	/** minimal constructor */
	public EnclosureInstrument(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public EnclosureInstrument(Integer id, Unit unit,
			String enclosureIdentifier, String classificationNum,
			String enclosureName, String modelSpecification,
			Float enclosureUnitPrice, String factory, String leaveFactoryNum,
			Date leaveFactoryDate, Date purchaseDate, String statusQuo,
			String recipientsPerson, String billsNum, String equipmentNum,
			String chargePerson, String handlePerson, String fundSubject,
			String useDirecton, String procurementMethods,
			Float enclosureImportPrice, String gbClassificationNum,
			Date inStorageTime, Integer useUnitId, String varcharOne,
			String varcharTwo, Float numOne, Float numTwo, String schoolArea,
			String remark, String instrumentSourse, Date warrantyPeriod,
			Integer keepPlaceId, String financialVouchers, String examine,
			String financialAudit, Date financialAuditTime,
			String financialAuditPerson, User inputPerson, Date inputTime,
			String checkWay, Date checkDate, String checkWrong, String picFile,
			String picFileOne, String picFileTwo, String picNameOne,
			String picNameTwo, String picName, String gbCode,
			String firstExamine, String firstExaminePerson,
			Date firstExamineTime,MainInstrument mainInstrument) {
		this.id = id;
		this.unit = unit;
		this.enclosureIdentifier = enclosureIdentifier;
		this.classificationNum = classificationNum;
		this.enclosureName = enclosureName;
		this.modelSpecification = modelSpecification;
		this.enclosureUnitPrice = enclosureUnitPrice;
		this.factory = factory;
		this.leaveFactoryNum = leaveFactoryNum;
		this.leaveFactoryDate = leaveFactoryDate;
		this.purchaseDate = purchaseDate;
		this.statusQuo = statusQuo;
		this.recipientsPerson = recipientsPerson;
		this.billsNum = billsNum;
		this.equipmentNum = equipmentNum;
		this.chargePerson = chargePerson;
		this.handlePerson = handlePerson;
		this.fundSubject = fundSubject;
		this.useDirecton = useDirecton;
		this.procurementMethods = procurementMethods;
		this.enclosureImportPrice = enclosureImportPrice;
		this.gbClassificationNum = gbClassificationNum;
		this.inStorageTime = inStorageTime;
		this.useUnitId = useUnitId;
		this.varcharOne = varcharOne;
		this.varcharTwo = varcharTwo;
		this.numOne = numOne;
		this.numTwo = numTwo;
		this.schoolArea = schoolArea;
		this.remark = remark;
		this.instrumentSourse = instrumentSourse;
		this.warrantyPeriod = warrantyPeriod;
		this.keepPlaceId = keepPlaceId;
		this.financialVouchers = financialVouchers;
		this.examine = examine;
		this.financialAudit = financialAudit;
		this.financialAuditTime = financialAuditTime;
		this.financialAuditPerson = financialAuditPerson;
		this.setInputPerson(inputPerson);
		this.inputTime = inputTime;
		this.checkWay = checkWay;
		this.checkDate = checkDate;
		this.checkWrong = checkWrong;
		this.picFile = picFile;
		this.picFileOne = picFileOne;
		this.picFileTwo = picFileTwo;
		this.picNameOne = picNameOne;
		this.picNameTwo = picNameTwo;
		this.picName = picName;
		this.gbCode = gbCode;
		this.firstExamine = firstExamine;
		this.firstExaminePerson = firstExaminePerson;
		this.firstExamineTime = firstExamineTime;
		this.mainInstrument=mainInstrument;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Unit getUnit() {
		return this.unit;
	}

	public void setUnit(Unit unit) {
		this.unit = unit;
	}

	public String getEnclosureIdentifier() {
		return this.enclosureIdentifier;
	}

	public void setEnclosureIdentifier(String enclosureIdentifier) {
		this.enclosureIdentifier = enclosureIdentifier;
	}

	public String getClassificationNum() {
		return this.classificationNum;
	}

	public void setClassificationNum(String classificationNum) {
		this.classificationNum = classificationNum;
	}

	public String getEnclosureName() {
		return this.enclosureName;
	}

	public void setEnclosureName(String enclosureName) {
		this.enclosureName = enclosureName;
	}

	public String getModelSpecification() {
		return this.modelSpecification;
	}

	public void setModelSpecification(String modelSpecification) {
		this.modelSpecification = modelSpecification;
	}

	public Float getEnclosureUnitPrice() {
		return this.enclosureUnitPrice;
	}

	public void setEnclosureUnitPrice(Float enclosureUnitPrice) {
		this.enclosureUnitPrice = enclosureUnitPrice;
	}

	public String getFactory() {
		return this.factory;
	}

	public void setFactory(String factory) {
		this.factory = factory;
	}

	public String getLeaveFactoryNum() {
		return this.leaveFactoryNum;
	}

	public void setLeaveFactoryNum(String leaveFactoryNum) {
		this.leaveFactoryNum = leaveFactoryNum;
	}

	public Date getLeaveFactoryDate() {
		return this.leaveFactoryDate;
	}

	public void setLeaveFactoryDate(Date leaveFactoryDate) {
		this.leaveFactoryDate = leaveFactoryDate;
	}

	public Date getPurchaseDate() {
		return this.purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public String getStatusQuo() {
		return this.statusQuo;
	}

	public void setStatusQuo(String statusQuo) {
		this.statusQuo = statusQuo;
	}

	public String getRecipientsPerson() {
		return this.recipientsPerson;
	}

	public void setRecipientsPerson(String recipientsPerson) {
		this.recipientsPerson = recipientsPerson;
	}

	public String getBillsNum() {
		return this.billsNum;
	}

	public void setBillsNum(String billsNum) {
		this.billsNum = billsNum;
	}

	public String getEquipmentNum() {
		return this.equipmentNum;
	}

	public void setEquipmentNum(String equipmentNum) {
		this.equipmentNum = equipmentNum;
	}

	public String getChargePerson() {
		return this.chargePerson;
	}

	public void setChargePerson(String chargePerson) {
		this.chargePerson = chargePerson;
	}

	public String getHandlePerson() {
		return this.handlePerson;
	}

	public void setHandlePerson(String handlePerson) {
		this.handlePerson = handlePerson;
	}

	public String getFundSubject() {
		return this.fundSubject;
	}

	public void setFundSubject(String fundSubject) {
		this.fundSubject = fundSubject;
	}

	public String getUseDirecton() {
		return this.useDirecton;
	}

	public void setUseDirecton(String useDirecton) {
		this.useDirecton = useDirecton;
	}

	public String getProcurementMethods() {
		return this.procurementMethods;
	}

	public void setProcurementMethods(String procurementMethods) {
		this.procurementMethods = procurementMethods;
	}

	public Float getEnclosureImportPrice() {
		return this.enclosureImportPrice;
	}

	public void setEnclosureImportPrice(Float enclosureImportPrice) {
		this.enclosureImportPrice = enclosureImportPrice;
	}

	public String getGbClassificationNum() {
		return this.gbClassificationNum;
	}

	public void setGbClassificationNum(String gbClassificationNum) {
		this.gbClassificationNum = gbClassificationNum;
	}

	public Date getInStorageTime() {
		return this.inStorageTime;
	}

	public void setInStorageTime(Date inStorageTime) {
		this.inStorageTime = inStorageTime;
	}

	public Integer getUseUnitId() {
		return this.useUnitId;
	}

	public void setUseUnitId(Integer useUnitId) {
		this.useUnitId = useUnitId;
	}

	public String getVarcharOne() {
		return this.varcharOne;
	}

	public void setVarcharOne(String varcharOne) {
		this.varcharOne = varcharOne;
	}

	public String getVarcharTwo() {
		return this.varcharTwo;
	}

	public void setVarcharTwo(String varcharTwo) {
		this.varcharTwo = varcharTwo;
	}

	public Float getNumOne() {
		return this.numOne;
	}

	public void setNumOne(Float numOne) {
		this.numOne = numOne;
	}

	public Float getNumTwo() {
		return this.numTwo;
	}

	public void setNumTwo(Float numTwo) {
		this.numTwo = numTwo;
	}

	public String getSchoolArea() {
		return this.schoolArea;
	}

	public void setSchoolArea(String schoolArea) {
		this.schoolArea = schoolArea;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getInstrumentSourse() {
		return this.instrumentSourse;
	}

	public void setInstrumentSourse(String instrumentSourse) {
		this.instrumentSourse = instrumentSourse;
	}

	public Date getWarrantyPeriod() {
		return this.warrantyPeriod;
	}

	public void setWarrantyPeriod(Date warrantyPeriod) {
		this.warrantyPeriod = warrantyPeriod;
	}

	public Integer getKeepPlaceId() {
		return this.keepPlaceId;
	}

	public void setKeepPlaceId(Integer keepPlaceId) {
		this.keepPlaceId = keepPlaceId;
	}

	public String getFinancialVouchers() {
		return this.financialVouchers;
	}

	public void setFinancialVouchers(String financialVouchers) {
		this.financialVouchers = financialVouchers;
	}

	public String getExamine() {
		return this.examine;
	}

	public void setExamine(String examine) {
		this.examine = examine;
	}

	public String getFinancialAudit() {
		return this.financialAudit;
	}

	public void setFinancialAudit(String financialAudit) {
		this.financialAudit = financialAudit;
	}

	public Date getFinancialAuditTime() {
		return this.financialAuditTime;
	}

	public void setFinancialAuditTime(Date financialAuditTime) {
		this.financialAuditTime = financialAuditTime;
	}

	public String getFinancialAuditPerson() {
		return this.financialAuditPerson;
	}

	public void setFinancialAuditPerson(String financialAuditPerson) {
		this.financialAuditPerson = financialAuditPerson;
	}
	public Date getInputTime() {
		return this.inputTime;
	}

	public void setInputTime(Date inputTime) {
		this.inputTime = inputTime;
	}

	public String getCheckWay() {
		return this.checkWay;
	}

	public void setCheckWay(String checkWay) {
		this.checkWay = checkWay;
	}

	public Date getCheckDate() {
		return this.checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public String getCheckWrong() {
		return this.checkWrong;
	}

	public void setCheckWrong(String checkWrong) {
		this.checkWrong = checkWrong;
	}

	public String getPicFile() {
		return this.picFile;
	}

	public void setPicFile(String picFile) {
		this.picFile = picFile;
	}

	public String getPicFileOne() {
		return this.picFileOne;
	}

	public void setPicFileOne(String picFileOne) {
		this.picFileOne = picFileOne;
	}

	public String getPicFileTwo() {
		return this.picFileTwo;
	}

	public void setPicFileTwo(String picFileTwo) {
		this.picFileTwo = picFileTwo;
	}

	public String getPicNameOne() {
		return this.picNameOne;
	}

	public void setPicNameOne(String picNameOne) {
		this.picNameOne = picNameOne;
	}

	public String getPicNameTwo() {
		return this.picNameTwo;
	}

	public void setPicNameTwo(String picNameTwo) {
		this.picNameTwo = picNameTwo;
	}

	public String getPicName() {
		return this.picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public String getGbCode() {
		return this.gbCode;
	}

	public void setGbCode(String gbCode) {
		this.gbCode = gbCode;
	}

	public String getFirstExamine() {
		return this.firstExamine;
	}

	public void setFirstExamine(String firstExamine) {
		this.firstExamine = firstExamine;
	}

	public String getFirstExaminePerson() {
		return this.firstExaminePerson;
	}

	public void setFirstExaminePerson(String firstExaminePerson) {
		this.firstExaminePerson = firstExaminePerson;
	}

	public Date getFirstExamineTime() {
		return this.firstExamineTime;
	}

	public void setFirstExamineTime(Date firstExamineTime) {
		this.firstExamineTime = firstExamineTime;
	}

	public MainInstrument getMainInstrument() {
		return mainInstrument;
	}

	public void setMainInstrument(MainInstrument mainInstrument) {
		this.mainInstrument = mainInstrument;
	}

	public User getInputPerson() {
		return inputPerson;
	}

	public void setInputPerson(User inputPerson) {
		this.inputPerson = inputPerson;
	}

}